<?php

namespace App;

use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;

/**
 * App\Orders
 *
 * @property int $id
 * @property int $user_id
 * @property string|null $order_num
 * @property int $books_id
 * @property int $recharge_package_id
 * @property float $unit_price
 * @property int $unit_books_coin
 * @property int $num
 * @property float $amount_money
 * @property int $amount_books_coin
 * @property string|null $remark
 * @property string|null $type
 * @property int $is_pay
 * @property string|null $pay_time 支
 * @property string|null $pay_type 支
 * @property int $status 状态 0
 * @property string|null $deleted_at
 * @property \Carbon\Carbon|null $created_at
 * @property \Carbon\Carbon|null $updated_at
 * @method static bool|null forceDelete()
 * @method static \Illuminate\Database\Query\Builder|\App\Orders onlyTrashed()
 * @method static bool|null restore()
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Orders whereAmountBooksCoin($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Orders whereAmountMoney($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Orders whereBooksId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Orders whereCreatedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Orders whereDeletedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Orders whereId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Orders whereIsPay($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Orders whereNum($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Orders whereOrderNum($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Orders wherePayTime($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Orders wherePayType($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Orders whereRechargePackageId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Orders whereRemark($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Orders whereStatus($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Orders whereType($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Orders whereUnitBooksCoin($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Orders whereUnitPrice($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Orders whereUpdatedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Orders whereUserId($value)
 * @method static \Illuminate\Database\Query\Builder|\App\Orders withTrashed()
 * @method static \Illuminate\Database\Query\Builder|\App\Orders withoutTrashed()
 * @mixin \Eloquent
 * @property int $vip_rule_id 会员规则id
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Orders whereVipRuleId($value)
 * @property int $withdraw_money 提现金额
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Orders whereWithdrawMoney($value)
 */
class Orders extends Model
{
    protected $table = 'orders';
    use SoftDeletes;
}
